package cn.ruanyun.backInterface.modules.business.sensitiveWords.service;

import cn.ruanyun.backInterface.common.enums.SensitivityTypeEnum;
import cn.ruanyun.backInterface.modules.business.sensitiveWords.pojo.SensitiveWord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * 敏感词接口
 * @author tqr
 */
public interface ISensitiveWordsService extends IService<SensitiveWord> {

    Set<String> sensitiveWordFiltering(String text, SensitivityTypeEnum typeEnum);
}